From d769808cbb48f3c154615cb64d5452f360d5f1e0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 6 Aug 2009 23:49:02 -0400 Subject: [PATCH] Fix a typo This was reported in bug 586808. --- docs/reference/gtk/migrating-GtkEntry-icons.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/gtk/migrating-GtkEntry-icons.sgml b/docs/reference/gtk/migrating-GtkEntry-icons.sgml index ce3b44dcbc..93e21b5356 100644 --- a/docs/reference/gtk/migrating-GtkEntry-icons.sgml +++ b/docs/reference/gtk/migrating-GtkEntry-icons.sgml @@ -7,10 +7,10 @@ Migrating from SexyIconEntry to GtkEntry - GTK+ 2.16 supports showing icons inside a #GtkEntry, similar to - SexyIconEntry. Porting from SexyIconEntry to GtkEntry is relatively - straightforward. The main difference between the two APIs is that - SexyIconEntry uses #GtkImage widgets in a somewhat awkward way as + GTK+ 2.16 supports showing icons inside a #GtkEntry, similar to + SexyIconEntry. Porting from SexyIconEntry to GtkEntry is relatively + straightforward. The main difference between the two APIs is that + SexyIconEntry uses #GtkImage widgets in a somewhat awkward way as storage vehicles for icons, while GtkEntry allows to specify icons via pixbufs, stock ids, icon names or #GIcons. So, if your code uses e.g.: @@ -130,7 +130,7 @@ text_changed_cb (GtkEntry *entry, gtk_entry_set_icon_from_stock (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_CLEAR); - g_signal_connect (entry, "icon-pressed", + g_signal_connect (entry, "icon-press", G_CALLBACK (icon_pressed_cb), NULL); g_signal_connect (entry, "notify::text", G_CALLBACK (text_changed_cb), find_button); -- 2.30.2